package com.probox.common.entity.vo.proboxService;

import com.probox.common.core.utils.money.MoneyUtils;
import lombok.Data;

/**
 * 美容护肤的商品列表
 */
@Data
public class ShopItemVo implements java.io.Serializable{

    //分组ID
    private Long groupUid;
    //商品类型
    private String productType;
    //商品ID
    private Long id;
    //商品名称
    private String name;
    //商品类型
    private String type;
    //显示价格
    private Long showPrice;
    public String getShowPriceFmt(){
        return MoneyUtils.changeF2Y(showPrice);
    }

    //售价
    private Long retailPrice;

    public String getRetailPriceFmt(){
        return MoneyUtils.changeF2Y(retailPrice);
    }

    //菠萝派
    private Long boluoHuaPrice;



    //库存
    private Long stockNumber;

    //banner图
    private String banner;

    //显示图片
    private String image;
    //是否包含标签
    private String tags;
    //营销标签
    private String marketingTags;
    //是否包含活动
    private Long activityId;

    //活动名称
    private String activityName;

    //活动价格
    private Long activityPrice;

    public String getActivityPriceFmt(){
        return MoneyUtils.changeF2Y(activityPrice);
    }

    //是否推荐
    private String isRecommend;
    //是否是叠叠乐
    private String isDdl;
    //是否享受会员折扣
    private String isUseMemberDiscount;
    //哪个等级享受
    private Long memberLevel;

    //叠叠乐的最底价，只要服务项目有这个值
    private Long ddlPrice;

    //是否有SKU
    private String haveSku;

    public String getDdlPriceFmt(){
        return MoneyUtils.changeF2Y(ddlPrice);
    }
}
